//
//  NYLoginViewModel.h
//  Nooryes
//
//  Created by baken on 2020/2/26.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseViewModel.h"
@class AccountModel;

NS_ASSUME_NONNULL_BEGIN

@interface NYLoginViewModel : BaseViewModel

@property (nonatomic, strong) AccountModel *account;

@property (nonatomic, strong) NSString *phoneNum;

@property (nonatomic, strong) NSString *password;

@property (nonatomic, strong) NSString *verifyType;

@property (nonatomic, strong) NSString *loginPlatform;

@property (nonatomic, strong) NSString *code;

@property (nonatomic, strong) NSString *name;

@property (nonatomic, strong) NSMutableArray *bindArray;

@property (nonatomic, strong) NSMutableArray *provinceArray;

@property (nonatomic, strong) NSMutableArray *cityArray;

- (void)getVerifyCodeWithCompletionHandle:(CompletionHandle)complete;

- (void)thrLoginWithCompletionHandle:(CompletionHandle)complete;

- (void)phonePasswordLoginWithCompletionHandle:(CompletionHandle)complete;

- (void)phoneCodeLoginWithCompletionHandle:(CompletionHandle)complete;

- (void)logoutWithCompletionHandle:(CompletionHandle)complete;

- (void)getThr3BindListWithCompletionHandle:(CompletionHandle)complete;

- (void)bindThr3WithCompletionHandle:(CompletionHandle)complete;

@end

NS_ASSUME_NONNULL_END
